<?php /* Smarty version 2.6.26, created on 2010-12-01 02:43:32
         compiled from artlist.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'catalog_info', 'artlist.html', 3, false),array('function', 'catalog_list', 'artlist.html', 16, false),array('function', 'current_position', 'artlist.html', 31, false),array('function', 'article_list', 'artlist.html', 38, false),array('function', 'article_pages', 'artlist.html', 75, false),array('modifier', 'date_format', 'artlist.html', 54, false),array('modifier', 'ceil', 'artlist.html', 74, false),array('modifier', 'cut', 'artlist.html', 97, false),)), $this); ?>
<?php $this->assign('catalog_id', $_REQUEST['id']); ?>
<?php $this->assign('cpage', $_REQUEST['page']); ?>
<?php echo smarty_function_catalog_info(array('catalog_id' => $this->_tpl_vars['catalog_id'],'assign' => 'cat'), $this);?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "arthead.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<link href="<?php echo $this->_tpl_vars['website']; ?>
/templates/<?php echo $this->_tpl_vars['moban']; ?>
/style/news.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['website']; ?>
/templates/<?php echo $this->_tpl_vars['moban']; ?>
/style/v2_nav.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['website']; ?>
/templates/<?php echo $this->_tpl_vars['moban']; ?>
/style/news_ent.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['website']; ?>
/templates/<?php echo $this->_tpl_vars['moban']; ?>
/style/layout20100520.css" rel="stylesheet" type="text/css" />
<body>
<div class="top">
    <div class="link" id="c9">
    <?php echo smarty_function_catalog_info(array('catalog_id' => $this->_tpl_vars['catalog_id'],'mode' => 2,'assign' => 'catinfo'), $this);?>

   	<div class="l1" style="padding-top:2px;"><a href="<?php echo $this->_tpl_vars['website']; ?>
/<?php echo $this->_tpl_vars['cat']['path']; ?>
/" title="<?php echo $this->_tpl_vars['cat']['name']; ?>
"><?php echo $this->_tpl_vars['cat']['name']; ?>
</a>
    </div>
        <div class="l3">
        <?php echo smarty_function_catalog_list(array('pid' => $this->_tpl_vars['catinfo']['id'],'assign' => 'clist'), $this);?>

        <?php $_from = $this->_tpl_vars['clist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['list']):
?>
        <?php if ($this->_tpl_vars['k'] != 0): ?>|&nbsp;<?php endif; ?>
        <a href="<?php echo $this->_tpl_vars['website']; ?>
/<?php echo $this->_tpl_vars['list']['path']; ?>
/" title="<?php echo $this->_tpl_vars['list']['name']; ?>
"><?php echo $this->_tpl_vars['list']['name']; ?>
</a>&nbsp;
        <?php endforeach; endif; unset($_from); ?>
        </div>
    </div>
</div>
<?php if ($this->_tpl_vars['ads']['art_list_ad1'] != ''): ?>
<div class="ad_960_100 center bottom4"><?php echo $this->_tpl_vars['ads']['art_list_ad1']; ?>
</div>
<?php endif; ?>
<div class="main">
  <div class="main_in">
	<div class="main_l">
    	<div class="module_01 padding4">
            <div class="here">当前位置：<a href="<?php echo $this->_tpl_vars['website']; ?>
" title="回到<?php echo $this->_tpl_vars['webname']; ?>
首页"><?php echo $this->_tpl_vars['webname']; ?>
</a>&nbsp;&gt;&nbsp;<?php echo smarty_function_current_position(array('catalog_id' => $this->_tpl_vars['catalog_id']), $this);?>
</div>
            <div class="news_list">
 
				<div class="news_list_m_2">
                <?php if ($this->_tpl_vars['cat']['type'] != 'custom'): ?>
                <!-- 栏目类型：普通文章 -->
                	<div class="l">
            <?php echo smarty_function_article_list(array('postfix' => $this->_tpl_vars['art_postfix'],'pic_only' => 1,'catalog_id' => $this->_tpl_vars['catalog_id'],'count' => 5,'page' => $this->_tpl_vars['cpage'],'assign' => 'rec'), $this);?>

            <?php $_from = $this->_tpl_vars['rec']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['r']):
?>
            <div class="img">
            <a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" target="_blank" title="<?php echo $this->_tpl_vars['r']['title']; ?>
">
            <img src="<?php echo $this->_tpl_vars['r']['pic']; ?>
" width="100" height="120"/></a>
            <h1><a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" title="<?php echo $this->_tpl_vars['r']['title']; ?>
" target="_blank"><?php echo $this->_tpl_vars['r']['title']; ?>
</a></h1>
            </div>
            <?php endforeach; endif; unset($_from); ?>
             </div>
                    <div class="r">
                    	<!--热门文章 start-->
                    	<div class="hot">
                        	<h2><img src="<?php echo $this->_tpl_vars['website']; ?>
/templates/<?php echo $this->_tpl_vars['moban']; ?>
/style/ent/list_rmwz.gif" title="热门文章" /></h2>
            <ul>
            <?php echo smarty_function_article_list(array('postfix' => $this->_tpl_vars['art_postfix'],'catalog_id' => $this->_tpl_vars['catalog_id'],'count' => 5,'page' => $this->_tpl_vars['cpage'],'order' => 'click desc','assign' => 'rec'), $this);?>

            <?php $_from = $this->_tpl_vars['rec']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['r']):
?>
            <li><span class="l1">·<a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" title="<?php echo $this->_tpl_vars['r']['title']; ?>
" target="_blank"><?php echo $this->_tpl_vars['r']['title']; ?>
</a></a></span><span class="r1"><?php echo ((is_array($_tmp=$this->_tpl_vars['r']['dt'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</span></li>
            <?php endforeach; endif; unset($_from); ?>
            </ul>
                        </div>
                        <!--热门文章 end-->
                        
                        <!--最新文章 start-->
                        <div class="new">
                        	<h2><img src="<?php echo $this->_tpl_vars['website']; ?>
/templates/<?php echo $this->_tpl_vars['moban']; ?>
/style/ent/list_zxwz.gif" title="最新文章" /></h2>
            <ul>
            <?php echo smarty_function_article_list(array('postfix' => $this->_tpl_vars['art_postfix'],'catalog_id' => $this->_tpl_vars['catalog_id'],'count' => 25,'page' => $this->_tpl_vars['cpage'],'assign' => 'rec','totalnums' => 'total'), $this);?>

            <?php $_from = $this->_tpl_vars['rec']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['r']):
?>
            <li><span class="l1">·<a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" title="<?php echo $this->_tpl_vars['r']['title']; ?>
" target="_blank"><?php echo $this->_tpl_vars['r']['title']; ?>
</a></a></span><span class="r1"><?php echo ((is_array($_tmp=$this->_tpl_vars['r']['dt'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</span></li>
            <?php endforeach; endif; unset($_from); ?>
            </ul>
                        </div>
                        <!--最新文章 end-->
                        
                    </div>
                    <div class="page">
                    <div id="pages" style="margin:0px; text-align:right">共&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['total']/25)) ? $this->_run_mod_handler('ceil', true, $_tmp) : ceil($_tmp)); ?>
&nbsp;页&nbsp;&nbsp;
                    <?php echo smarty_function_article_pages(array('page_size' => 25,'totalnums' => $this->_tpl_vars['total'],'current_page' => $this->_tpl_vars['cpage'],'sub_pages' => 10,'postfix' => $this->_tpl_vars['art_postfix']), $this);?>

                    </div>
                    </div>
                    <?php elseif ($this->_tpl_vars['cat']['type'] == 'custom'): ?>
                <!-- 栏目类型：自定义页面 -->
                <?php echo $this->_tpl_vars['cat']['content']; ?>

                    <?php endif; ?>
                </div>
            </div>
        </div>
        <div class="module_01"><div class="ad_664_90 padding4">
        <?php echo $this->_tpl_vars['ads']['art_list_ad2']; ?>

        </div></div>
        <div class="module_01 w333 l">
<div class="title_03 title_01_ll">
    <h2>24小时娱乐资讯</h2>
    <span>24XIAOSHIYULEZIXUN</span>
</div>
<div class="content_01">
    <ul class="ul_01">
        <?php echo smarty_function_article_list(array('postfix' => $this->_tpl_vars['art_postfix'],'catalog_id' => 15,'count' => 5,'assign' => 'rec'), $this);?>
 <!-- 调用娱乐资讯 -->
            <?php $_from = $this->_tpl_vars['rec']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['r']):
?>
            <li><span class="1">·<a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" title="<?php echo $this->_tpl_vars['r']['title']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['r']['title'])) ? $this->_run_mod_handler('cut', true, $_tmp, 60, '') : smarty_modifier_cut($_tmp, 60, '')); ?>
</a></a></span></li>
            <?php endforeach; endif; unset($_from); ?>
     </ul>
</div>
        </div>
        <div class="module_01 w333 r">
<div class="title_03 title_01_ll">
    <h2>24小时美容资讯</h2>
    <span>24XIAOSHIMEIRONGZIXUN</span>
</div>
<div class="content_01">
    <ul class="ul_01">
        <?php echo smarty_function_article_list(array('postfix' => $this->_tpl_vars['art_postfix'],'catalog_id' => 1,'count' => 5,'assign' => 'rec'), $this);?>
 <!-- 调用美容资讯 -->
            <?php $_from = $this->_tpl_vars['rec']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['r']):
?>
            <li><span class="1">·<a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" title="<?php echo $this->_tpl_vars['r']['title']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['r']['title'])) ? $this->_run_mod_handler('cut', true, $_tmp, 60, '') : smarty_modifier_cut($_tmp, 60, '')); ?>
</a></a></span></li>
            <?php endforeach; endif; unset($_from); ?>
    </ul>
</div>
        </div>
    </div>
    <div class="main_r">
        <div class="ad_260_250 bottom4">
        <?php echo $this->_tpl_vars['ads']['art_list_ad3']; ?>

        </div>
        
        <div class="module_01">
            <div class="title_01">
                <h2>精彩推荐</h2>
                <span>JINGCAITUIJIAN</span>
            </div>
<div class="content_01">
    <ul class="ul_01">
    <?php if ($this->_tpl_vars['cat']['type'] == 'custom'): ?><?php $this->assign('cid', 0); ?><?php else: ?><?php $this->assign('cid', $this->_tpl_vars['catalog_id']); ?><?php endif; ?>
        <?php echo smarty_function_article_list(array('postfix' => $this->_tpl_vars['art_postfix'],'catalog_id' => $this->_tpl_vars['cid'],'rec' => 1,'count' => 8,'assign' => 'rec'), $this);?>
 <!-- 调用本类推荐 -->
            <?php $_from = $this->_tpl_vars['rec']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['r']):
?>
            <li><span class="1"><a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" title="<?php echo $this->_tpl_vars['r']['title']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['r']['title'])) ? $this->_run_mod_handler('cut', true, $_tmp, 45, '') : smarty_modifier_cut($_tmp, 45, '')); ?>
</a></a></span></li>
            <?php endforeach; endif; unset($_from); ?>
    </ul>
</div>
        </div>
        <div class="module_01">
            <div class="title_01">
                <h2>本类置顶</h2>
                <span>BENLEIZHIDING</span>
            </div>
<div class="content_01">
    <ul class="ul_01">
        <?php echo smarty_function_article_list(array('postfix' => $this->_tpl_vars['art_postfix'],'catalog_id' => $this->_tpl_vars['cid'],'top' => 1,'count' => 8,'assign' => 'rec'), $this);?>
 <!-- 调用本类置顶 -->
            <?php $_from = $this->_tpl_vars['rec']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['r']):
?>
            <li><span class="1"><a href="<?php echo $this->_tpl_vars['website']; ?>
<?php echo $this->_tpl_vars['r']['link']; ?>
" title="<?php echo $this->_tpl_vars['r']['title']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['r']['title'])) ? $this->_run_mod_handler('cut', true, $_tmp, 45, '') : smarty_modifier_cut($_tmp, 45, '')); ?>
</a></a></span></li>
            <?php endforeach; endif; unset($_from); ?>
    </ul>
</div>
        </div>
        <div class="module_01">
            <div class="title_01">
                <h2>热卖商品</h2>
                <span>REMAISHANGPIN</span>
            </div>
<div class="content_01">
	<?php echo $this->_tpl_vars['ads']['art_list_ad4']; ?>

</div>
        </div>
    </div>
</div>
</div>
 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'foot.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="bottom_line"></div>
</body>
</html><!-- Published at 2010-11-16 15:14:22 -->